package com.label.Model.Do;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import java.util.List;

@TableName(value = "strategy")
@Data
public class Strategy {

    @TableId(value = "strategy_id")
    private Long id;

    @TableField(value = "strategy_name")
    private String name;

    @TableField(value = "strategy_remark")
    private String remark;

    @TableField(value = "strategy_author")
    private String creator;

    @TableField(value = "strategy_begintime")
    private Date strategy_time;

    @TableField(exist = false)
    private List<StrategyCondition> conditions;
}
